<!--  -->
<template>
<div class='myHomeBody'>
  <announcement />
  <div class="Myinformationlist">
    <div class="Myinformationlist-nav">
      <div>
        <ul>
          <li>最近</li>
          <router-link :to="{ name: 'syxelement' }"><li>说一下</li></router-link>
          <li>收藏</li>
          <router-link :to="{ name: 'attention' }"><li>关注/订阅</li></router-link>
        </ul>
      </div>
      <div class="seach">
        <el-input
            placeholder="请输入内容"
            prefix-icon="el-icon-search"
            v-model="input2">
        </el-input>
      </div>
    </div>
    <div class="article">
      <router-view></router-view>
    </div>
  </div>
</div>
</template>

<script lang='ts'>

import { defineComponent, ref } from 'vue'
import announcement from '@/views/public/announcement/index.vue'

export default defineComponent({
  name: '',
  props: {
    msg: String
  },
  components: {
    announcement
  },
  setup () {
    return {
      input2: ref('')
    }
  }
})
</script>

<style scoped lang='scss'>
.myHomeBody{
  display: flex;
}
.Myinformationlist-nav{
  padding: 0px 15px;
  display: flex;
  justify-content: space-between;
  box-shadow: 0px 1px 18px rgba(90, 90, 90,.2);
  border-radius: 5%;
  border: 1px solid rgba(90, 90, 90,.1);
  ul{
    display: flex;
    li{
      padding: 10px 15px;
      cursor: pointer;
      transition: all 0.4s;
    }
    li:hover{
      color: skyblue;
    }
  }
}
.Myinformationlist{
  width: 100%;
  min-width: 900px;
}
</style>
